package net.sunofbeaches.services;

import net.sunofbeaches.pojo.Comment;
import net.sunofbeaches.response.ResponseResult;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public interface CommentServices {

    ResponseResult postComment(Comment comment);

    ResponseResult listCommentByArticleID(String articleId, int page, int size);

    ResponseResult deleteCommentById(String commentId);
}
